/**
 * 配置编译环境和线上环境之间的切换
 *
 * baseUrl: 老项目域名地址
 * khglUrl: 客户管理域名地址
 * dicUrl : 字典服务器地址
 * routerMode: 路由模式
 * imgBaseUrl: 图片所在域名地址
 * welUrl :默认欢迎页
 *
 */


let baseUrl,
    mockUrl,
    imagesUrl,
    wechatUrl;
const iconfontVersion = [];
const iconfontUrl = '//at.alicdn.com/t/font_$key.css';
const codeUrl = `${baseUrl}/code`;
const env = process.env.NODE_ENV.replace(/\"/g, '');
if (env === 'development') {
    baseUrl = 'https://wuye.fengniaoai.com';
    // baseUrl = 'http://192.168.0.176:9999';
    imagesUrl = 'https://wuye.fengniaoai.com/images';
    mockUrl = 'http://122.4.247.156:3333';
    wechatUrl = 'https://wechat.fengniaoai.com';
} else if (env === 'production') {
    baseUrl = 'https://wuye.fengniaoai.com';
    // baseUrl = 'http://192.168.0.176:9999';
    imagesUrl = 'https://wuye.fengniaoai.com/images';
    mockUrl = 'http://122.4.247.156:3333';
    wechatUrl = 'https://wechat.fengniaoai.com';
} else if (env === 'test') {

}
export {
    wechatUrl,
    baseUrl,
    mockUrl,
    imagesUrl,
    iconfontUrl,
    iconfontVersion,
    codeUrl,
};